import java.util.*;

class Person
{
    String firstName, lastName;
    int birthDate;
    int numberOfKids;
    
    public Person(String firstName, String lastName, int birthDate, int numberOfKids)
    {
        this.firstName = firstName;
        this.lastName = lastName;
        this.birthDate = birthDate;
        this.numberOfKids = numberOfKids;
    }

    public String toString()
    {
        return "Name: " + firstName + " " + lastName + ", birth date: " + birthDate + ", number of kids: " + numberOfKids;
    }
}
